/**
 * @Author Yenchingcheng
 * @Date 2023/6/2 11:00
 * @Description 具体类--修建地铁
 **/
public class BuildSubway extends BuildInfrastructure{
    @Override
    protected void buildAbovegroundPart() {
        System.out.println("建设地铁出站口和地上部分路段。");
    }

    @Override
    protected boolean isSubway() {
        return true;
    }

    @Override
    protected void buildUndergroundPart() {
        System.out.println("建设地铁站和地下部分路段。");
    }
}
